import axios from '../http/request';

// 登录
const userLogin = (params: any) => {
    return axios.post("/api/login", params)
}


// 获取验证码
const getCode = () => {
    return axios.get("/api/getCode")
}

// 获取用户信息
const getUserInfo = () => {
    return axios.get("/api/getUserInfo")
}


export {
    userLogin,
    getCode,
    getUserInfo
}
